<% layout("/common/layout.html",{"title":"工商资料打印"}){ %>
<div class="row wrapper border-bottom white-bg page-heading">
    <div class="col-sm-5">
        <h2>个体户营业执照办理列表</h2>
        <ol class="breadcrumb">
            <li><a href="${ctxPath}/admin/main">主页</a></li>
            <li><a href="/merchantApply/view/index">个体户营业执照办理列表</a></li>
            <li class="active">资料打印</li>
        </ol>
    </div>
    <div class="col-sm-7">
        <div class="title-action">
            <div class="btn-group">
                <a class="btn btn-primary btn-outline" href="../view/index"><i class="fa fa-reply"> </i> 返回列表</a>
            </div>
            <div class="btn-group">
                <div class="btn btn-danger " href="/static/report/download/grbsctl6.exe">安装报表插件</div>
                <a class="btn btn-danger btn-outline" href="/static/report/download/grbsctl6.exe"><i class="fa fa-download"> </i> 节点1</a>
                <a class="btn btn-danger btn-outline" href="http://www.rubylong.cn/download/grbsctl6.exe" target="_blank"><i class="fa fa-download"> </i> 节点2</a>
            </div>
        </div>
    </div>
</div>
<style>
    #print_merchant_content .table-footer {
        font-size: 1.25rem;
    }

    #print_merchant_content th {
        text-align: center;
    }

    #print_merchant_content th,
    #print_merchant_content td {
        vertical-align: middle;
        line-height: 24px;
        padding: 6px;
    }
</style>

<div class="wrapper wrapper-content">
    <div class="tabs-container" id="tabs-container">
        <div class="panel-body">
            <iframe style="border: 1px solid #ebebeb" class="mainiframe" src="/merchantApply/report/apply/${applyId!}"  width="100%" height="700px" frameborder="0" scrolling="no"></iframe>
        </div>
    </div>
</div>

<% } %>
<script type="text/javascript">
    //页面JS调用
    require(['merchant/apply'], function (apply) {
        apply.print();
    });
</script>
